package com.example.novelweb.service;

import com.example.novelweb.common.BaseResponse;
import com.example.novelweb.model.entity.Collect;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.novelweb.model.vo.NovelVO;

import java.util.List;

/**
* @author PERSON
* @description 针对表【collect(用户收藏)】的数据库操作Service
* @createDate 2025-01-26 22:32:41
*/
public interface CollectService extends IService<Collect> {

  BaseResponse<Boolean> add(Long novelId);

  BaseResponse<Boolean> del(Long novelId);

  BaseResponse<List<NovelVO>> getUserCollects(Long userId);
}
